<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%String path = request.getContextPath();%>
<%@ taglib uri="/WEB-INF/tld/c.tld" prefix="c" %>
<%@ taglib uri="/WEB-INF/tld/sys.tld" prefix="sys" %>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <c:set var="ctx" value="${pageContext.request.contextPath}"/>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>C卡V2三方信息</title>
    <jsp:include page="../../import.jsp" flush="true"/>
    <input type="hidden" value="${dataId}" name="dataId" id="dataId"/>
</head>
<script type="text/javascript">
    var grid = null;
    $(function () {
        var _url = '<%=path%>/riskctrl/ccardv2/searchCcardRiskListPage.do?dataId=${dataId}';
        $("#ligergrid1").ligerGrid({
            url: _url,
            method: 'get',
            columns: [
                {display: 'ID', name: 'id', hide:"true",align: 'left', width: 100},
                {display: '矢量key', name: 'vectorKey', align: 'left', width: 200},
                {display: '矢量名称', name: 'vectorKeyNm', align: 'left'},
                {display: '矢量值', name: 'vectorVal', align: 'left', width: 200}
            ],
            pageSize: 10,
            root: 'rows',
            record: 'total',
            hideLoadButton: true,
            width: '100%',
            height: '100%',
            heightDiff: -2,
            checkbox: false,
            rownumbers: true,
            frozen: false,
            allowUnSelectRow: true,
            alternatingRow: false,
            fixedCellHeight: false,
        });
        grid = liger.get("ligergrid1");
        grid.setHeight(100);
    });

    frameElement.dialog.onCancel = function () {
        frameElement.dialog.close();
    }
</script>
<body class="iframeBody">
<div class="sqPanel">
    <div class="sqPanel_head inL">
        <span>百融法院裁决文书</span>
    </div>
    <div class="sqPanel_body">
        <div class="sq-staticGrid">
            <table class="table_full">
                <thead>
                <tr>
                    <td width="8%">序号</td>
                    <td width="15%">案号</td>
                    <td width="10%">案由</td>
                    <td width="13%">审结时间</td>
                    <td width="12%">警告</td>
                </tr>
                </thead>
                <tbody>
                <c:if test="${cjwsValue!=null}">
                    <c:forEach items="${cjwsValue}" var="cjws" varStatus="status">
                        <tr>
                            <td>${status.index + 1}</td>
                            <td>${cjws[0]}</td>
                            <td>${cjws[1]}</td>
                            <td>${cjws[2]}</td>
                            <td>${cjws[3]}</td>
                        </tr>
                    </c:forEach>
                </c:if>
                </tbody>
            </table>
        </div>
    </div>
    <div class="sqPanel_head inL">
        <span>其他规则信息</span>
    </div>
    <div id="ligergrid1" class="sq-grid"></div>
</div>

</body>
</html>